package com.eco.fanliapp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eco.fanliapp.entity.SyTimePeriodAppointment;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 预约抢购表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-09-23
 */
public interface SyTimePeriodAppointmentMapper extends BaseMapper<SyTimePeriodAppointment> {

    SyTimePeriodAppointment findAppointmentByItemIdAndUserId(@Param("itemId") Long itemId, @Param("userId") Long userId);
}
